﻿using System;
using System.Collections.Generic;
using System.Web;

/// <summary>
/// Summary description for CXCarMoreDetail
/// </summary>
/// 
namespace CE.CarInsurance
{
    public class CXCarMoreDetail
    {
        public CXCarMoreDetail()
        {
            //
            // TODO: Add constructor logic here
            //
            ClearFields();
        }

        private Int64 _moredetailid;
        private Int64 _cecarid;
        private Int64 _refceuserid;
        private Int64 _agentid;
        private string _nric;
        private string _licensepassdate;
        private string _registrationdate;
        private string _vehiclenumber;
        private int _covertype;
        private string _licensesuspension;
        private string _policycancelled;
        private bool _status;
        private DateTime _createddate;
        private DateTime _modifieddate;

        public Int64 MoreDetailId
        {
            get { return _moredetailid; }
            set { _moredetailid = value; }
        }

        public Int64 CECarId
        {
            get { return _cecarid; }
            set { _cecarid = value; }
        }

        public Int64 RefCEUserId
        {
            get { return _refceuserid; }
            set { _refceuserid = value; }
        }

        public Int64 AgentId
        {
            get { return _agentid; }
            set { _agentid = value; }
        }

        public string NRIC
        {
            get { return _nric; }
            set { _nric = value; }
        }

        public string LicensePassDate
        {
            get { return _licensepassdate; }
            set { _licensepassdate = value; }
        }

        public string RegistrationDate
        {
            get { return _registrationdate; }
            set { _registrationdate = value; }
        }

        public string VehicleNumber
        {
            get { return _vehiclenumber; }
            set { _vehiclenumber = value; }
        }

        public Int32 CoverType
        {
            get { return _covertype; }
            set { _covertype = value; }
        }

        public string LicenseSuspension
        {
            get { return _licensesuspension; }
            set { _licensesuspension = value; }
        }

        public string PolicyCancelled
        {
            get { return _policycancelled; }
            set { _policycancelled = value; }
        }

        public bool Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public DateTime CreatedDate
        {
            get { return _createddate; }
            set { _createddate = value; }
        }

        public DateTime ModifiedDate
        {
            get { return _modifieddate; }
            set { _modifieddate = value; }
        }

        private void ClearFields()
        {
            _moredetailid = 0;
             _cecarid = 0;
            _refceuserid = 0;
            _agentid = 0;
            _nric = "";
            _licensepassdate = "";
            _registrationdate = "";
            _vehiclenumber = "";
            _covertype = 0;
            _licensesuspension = "";
            _policycancelled = "";
            _status = false;
            _createddate = DateTime.Now;
            _modifieddate = DateTime.Now;
        }
    }
}